print("n*n乘法表")

i = 0
n = int(input("请输入n:"))
while i <= n-1:
    i += 1
    j = 1
    print("\n",end="")#相当于print("")
    while j <= i:
    
        print("%d*%d=%d\t" %(j, i, i*j),end="")
        j+=1
